PHY SET CLOTH STATIC

Use this command to set the static state of a cloth object.

  Syntax
PHY SET CLOTH STATIC ID, state
  Parameters
ID
Integer
identification number of the cloth object
state
Integer
a value of 1 will set the cloth to be static whereas 0 will change the state to dynamic

  Returns

  Description

This command is particularly useful for optimisation purposes. For example, if the camera is far away from a cloth object or the cloth object cannot be seen then having it simulated is not necessary therefore it will help to make it static until it is needed.

  Example Code
No example code is provided for this command